package com.agentworkflow.engine.core.enums;

public enum DefaultNodeType implements NodeType {
    START_EVENT("start_event", "开始事件"),
    END_EVENT("end_event", "结束事件");

    private final String code;

    private final String description;

    DefaultNodeType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String code() {
        return code;
    }

    @Override
    public String description() {
        return description;
    }
}
